﻿<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>GTAuto admin</title>
    <link rel="stylesheet" href="@Url.Content("~/css/layout.css")" type="text/css" media="screen" />
    <!--[if lt IE 9]>
	<link rel="stylesheet" href="@Url.Content("~/css/ie.css")" type="text/css" media="screen" />
	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    <script type="text/javascript" src=@Url.Content("~/js/jquery-1.5.2.min.js")></script>
    <script type="text/javascript" src=@Url.Content("~/js/hideshow.js")></script>
    <script type="text/javascript" src=@Url.Content("~/js/jquery.equalHeight.js")></script>
    <script type="text/javascript">
        $(document).ready(function () {
            //  $(".tablesorter").tablesorter();
        }
	);
        $(document).ready(function () {

            //When page loads...
            $(".tab_content").hide(); //Hide all content
            $("ul.tabs li:first").addClass("active").show(); //Activate first tab
            $(".tab_content:first").show(); //Show first tab content

            //On Click Event
            $("ul.tabs li").click(function () {

                $("ul.tabs li").removeClass("active"); //Remove any "active" class
                $(this).addClass("active"); //Add "active" class to selected tab
                $(".tab_content").hide(); //Hide all tab content

                var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
                $(activeTab).fadeIn(); //Fade in the active ID content
                return false;
            });

        });
    </script>
    <script type="text/javascript">
        $(function () {
            $('.column').equalHeight();
        });
    </script>
</head>
<body>
    <header id="header">
		<hgroup>
            <h1 class="site_title"><a href="index.html">Website Admin</a></h1>
           
            <div class="btn_view_site">@Html.ActionLink("Витрина авто", "Index", "Home")</div>
            <div class="btn_view_site">@Html.ActionLink("Объявления", "Index", "Ads")</div>
            <div class="btn_view_site">@Html.ActionLink("Фирмы", "Index", "Firms")</div>
           
		</hgroup>
	</header>
    <!-- end of header bar -->
    <section id="secondary_bar">
		<div class="user">
			<p>Admin (<a href="#">3 сообщении</a>)</p>
			<!-- <a class="logout_user" href="#" title="Logout">Logout</a> -->
		</div>
		<div class="breadcrumbs_container">
			@Html.Partial("AdminMenu")
		</div>
	</section>
    <!-- end of secondary bar -->
    <aside id="sidebar" class="column">
		@Html.Partial("AdminSubMenu")
	</aside>
    <!-- end of sidebar -->
    <section id="main" class="column">
       
     @RenderBody()
        <div class="spacer"></div>
    </section>
</body>
</html>
